home *** CD-ROM | disk | FTP | other *** search
- ;
- ; This file is used for the manual construction of DVD FilterGraphs.
- ; This is a somewhat complex issue, you have been warned.
- ;
- ; Functions:
- ;
- ; AddFilter(FilterID,FilterName)
- ; - You can get the FilterID string by loading the filter in graph edit
- ; and saving the result to an XML file (File -> Save as XML). Make sure
- ; you copy it complete, along with the {} chars.
- ; The FilterName is a name you assign to the filter. I recommend using
- ; the name as it's listed by GraphEdit.
- ;
- ; ConnectPin(SourceFilterName,SourcePinName,DestinationFilterName,DestinationPinName)
- ; - The Source and Destination filter names are the names you used with the AddFilter
- ; function. The Pin names can be found by viewing an XML exported filter graph
- ; using GraphEdit (note: the pin names as they appear within GraphEdit itself
- ; are incorrect!).
- ;
- ; IndirectConnectPin(SourceFilterName,SourcePinName,DestinationFilterName,DestinationPinName)
- ; - This function is similar to the ConnectPin function except that it allows you to
- ; connect pins with missing filters in between them. For example, you don't really know
- ; which Audio/Video Codec an AVI file uses, so ... By Indirectly connecting the AVI Splitter
- ; "Video->Out" pin with the Video Renderer filter "Video->In", the video codec is derived
- ; automatically.
- ;
-
- ; Add all our filters into the Graph
- AddFilter({70E102B0-5556-11CE-97C0-00AA0055595A},Video Renderer)
- AddFilter({79376820-07D0-11CF-A24D-0020AFD79767},Default DirectSound Device)
- AddFilter({CD8743A1-3736-11D0-9E69-00C04FD7C15B},Overlay Mixer)
- AddFilter({9BC1B780-85E3-11D2-98D0-0080C84E9C39},Fraunhofer Audio Decoder)
- AddFilter({6E8D4A20-310C-11D0-B79A-00AA003767A7},Line21 Decoder)
- AddFilter({9BC1B781-85E3-11D2-98D0-0080C84E9C39},Fraunhofer Video Decoder)
- AddFilter({9B8C4620-2C1A-11D0-8493-00A02438AD48},DVD Navigator)
-
- ; Connect the DVD Navigator Video-Out Pin to the Fraunhofer Video decoder Video-In pin.
- ConnectPin(DVD Navigator,Video,Fraunhofer Video Decoder,Video In)
-
- ; Connect the DVD Navigator AC3-Out pin (audio) to the Fraunhofer Audio decoder Audio-in pin.
- ConnectPin(DVD Navigator,AC3,Fraunhofer Audio Decoder,In)
-
- ; Connect the DVD Navigator SubPicture-Out pin (subtitles) to the Fraunhofer Video SubPicture-In pin.
- ConnectPin(DVD Navigator,SubPicture,Fraunhofer Video Decoder,SubPicture In)
-
- ; Connect the Fraunhofer Audio decoder Audio-Out pin to the Default DirectSound Device Audio Renderer
- ConnectPin(Fraunhofer Audio Decoder,Out,Default DirectSound Device,Audio Input pin (rendered))
-
- ; Connect the Fraunhofer Video decoder to the Overlay Mixer
- ConnectPin(Fraunhofer Video Decoder,Video Out,Overlay Mixer,Input0)
-
- ; Connect the Fraunhofer Video decoder to the Line21 decoder (closed captions)
- ConnectPin(Fraunhofer Video Decoder,~Closed Caption Out,Line21 Decoder,In)
-
- ; Connect the Line21 decoder to the Overlay Mixer
- ConnectPin(Line21 Decoder,Out,Overlay Mixer,Input2)
-
- ; Connect the Overlay Mixer to the video renderer
- ConnectPin(Overlay Mixer,Output,Video Renderer,In)
-